#ifndef __ICON_IMAGE_MGR_H__
#define __ICON_IMAGE_MGR_H__

#include <wx/wx.h>
#include <wx/imaglist.h>

#include <map>
typedef std::map<std::string,int> ImageListMap;
typedef std::map<std::string,wxIcon> IconListMap;

class IconImageMgr
{
public:
    IconImageMgr();
	wxImageList* getList(void){ return m_ImgList; }
	int getId(const string &name ){ return m_ImgMgr[name] ;}
	const wxIcon &getIcon(const string &name ){ return m_IconList[name] ;}
private:
	static bool		m_Init;
	wxImageList*	m_ImgList;
	string			m_IconPath;
	ImageListMap	m_ImgMgr;
	IconListMap     m_IconList;
};


#endif // __ICON_IMAGE_MGR_H__
